<%@ page import="com.zhiyou100.www.bbs.dao.TableTitleDao" %>
<%@ page import="com.zhiyou100.www.bbs.entityclass.TableTitle" %>
<%@ page import="java.util.ArrayList" %><%--
  Created by IntelliJ IDEA.
  User: yang
  Date: 6/9/20
  Time: 15:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>测试</title>
    <style>
        table tr td{
            border: 1px solid red;
            /*border-collapse: collapse;*/
        }
    </style>
</head>
<body>
<%
    TableTitleDao tableTitleDao = new TableTitleDao();
    ArrayList<TableTitle> all = tableTitleDao.getAll();
    String table = tableTitleDao.getTable(all);
    out.print(table);
%>
</body>
</html>
